package spring.in.action.chapter_02;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
// @ComponentScan(basePackages = { "spring.in.action.chapter_02",
// "spinrg.in.action.chapter_01" })
// @ComponentScan(basePackageClasses = { Chapter_02.class })
public class CDPlayerConfig
{
    @Bean(name = "fantasyPlus")
    public ICD cd()
    {
        // return new FantasyPlus("标题", "作者");
        return new FantasyPlus();
    }
}
